package net.stevechaloner.idea.ffs;

/**
 * @author Steve Chaloner
 */
public enum FileType
{
    XML("xml",
        null,
        ".xml"),
    SRC("src",
        "#",
        ".xml");

    private final String extension;

    private final String comment;

    private final String requiredSuffix;

    private FileType(String extension,
                     String comment,
                     String requiredSuffix)
    {
        this.extension = extension;
        this.comment = comment;
        this.requiredSuffix = requiredSuffix;
    }

    public String getExtension()
    {
        return extension;
    }

    public String getComment()
    {
        return comment;
    }

    public String getRequiredSuffix()
    {
        return requiredSuffix;
    }
}
